<script setup>
const count = 999;
const handleFn = () =>{
  console.log("测试")
}

defineExpose({count,handleFn})
</script>

<template>
  <div class="a">这是一个测试组件</div>
</template>

<style scoped>

</style>